package com.fr.report.web.ui.impl;

import com.fr.base.Inter;
import com.fr.report.web.ui.Icon;
import com.fr.report.web.ui.IconManager;
import com.fr.report.web.ui.ToolBarButton;
import com.fr.report.web.ui.WebContentUtils;
import com.fr.web.Repository;

public final class PDF2 extends ToolBarButton
{
  public PDF2()
  {
    super(Inter.getLocText("ReportServerP-PDF") + "(" + Inter.getLocText("ReportServerP-PDF2-INFO") + ")", IconManager.PDF.getName());
  }

  protected String clickAction(Repository paramRepository)
  {
    return WebContentUtils.getPDFExportAction(paramRepository, "rs");
  }
}